<?php $templateUrl = Config::get('template.url').'/Default'; ?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php echo Config::get('header_title');  ?></title>

<?php echo Config::getMeta(); ?>


<?php

$js = '<link href="'.$templateUrl.'/css/style.css" type="text/css" media="all" rel="stylesheet" />'.PHP_EOL;
$js .= '<link rel="stylesheet" href="'.$templateUrl.'/css/menu.css" type="text/css" media="screen" />'.PHP_EOL;
$js .= '<script type="text/javascript" src="'.$templateUrl.'/js/jquery-1.7.2.min.js"></script>'.PHP_EOL;

if(Util::isHomepage())
{
	$js .= '<script type="text/javascript" src="'.$templateUrl.'/js/simple.carousel.js"></script>'.PHP_EOL;
	$js .= '<script type="text/javascript" src="'.$templateUrl.'/js/jquery.cycle.all.latest.js"></script>'.PHP_EOL;
	$js .= '<script type="text/javascript" src="'.$templateUrl.'/js/custom.js"></script>'.PHP_EOL;
}

$js .= <<<DAN
	
<!--[if IE 6]>
<style>
body {behavior: url("$templateUrl/css/csshover3.htc");}
</style>
<![endif]-->
DAN;


echo $js;
?>

<?php echo Config::getAssets(); ?>
</head>

<body>

	<div class="header_wrapper">
    	<div class="center">
        	<div class="top_section_wrapper">
                <div class="logo_wrapper">
                    <a href="<?php echo Config::get('app.url');?>"><img src="<?php echo $templateUrl;?>/images/logo.png" alt="" /></a>
                </div><!--logo_wrapper-->
                
                <div class="nav_wrapper">
                <?php echo Content_Controller_Default::menu('H', true); ?>
                </div><!--nav_wrapper-->
            </div><!--top_section_wrapper-->
        </div><!--center-->
    </div><!--header_wrapper-->
    
    <div class="center">    
   	 <?php echo Content_Controller_Default::heroScoller();?>
    
        <div class="sections_wrapper"><?php  echo $output; ?></div><!--sections_wrapper-->  
        <?php //echo Portfolio_Default::recentPortfolio();?>  
    </div><!--center-->
    
    <div class="footer_wrapper">
    	<div class="center">
        
        	<div class="footer_section">
                <?php echo Content_Controller_Default::menu('F'); ?>

            </div><!--footer_section-->
            
        	<div class="footer_section">
            	<div class="footer_heading">Testimonials</div>
                    <div class="slideshow">
                    	<div class="testimonials">
                        	<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commod .Lorem ipsum dolor sit amet, consec adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore.
<strong>Laura Datta</strong></p>
                        	<p>Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commod .Lorem ipsum dolor sit amet, consec adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore.
<strong>Angela Taylor</strong></p>
                        </div><!--testimonials-->
                    	<div class="testimonials">
                        	<p>Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commod .Lorem ipsum dolor sit amet, consec adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore.
<strong>Mike Taylor</strong></p>
                        	<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commod .Lorem ipsum dolor sit amet, consec adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore.
<strong>Julie</strong></p>
                        </div><!--testimonials-->
                    </div><!--slideshow-->
                   </div><!--footer_section-->
        	<div class="footer_section last">
                <div class="social">
                	<a href="#"><img src="<?php echo $templateUrl;?>/images/facebook.png" /></a>
                	<a href="#"><img src="<?php echo $templateUrl;?>/images/twitter.png" /></a>
                	<a href="#"><img src="<?php echo $templateUrl;?>/images/wordpress.png" /></a>
                	<a href="#"><img src="<?php echo $templateUrl;?>/images/youtube.png" /></a>
                </div><!--socail-->
            </div><!--footer_section-->
           	<div class="clear"></div>
        </div><!--center-->
    </div><!--footer_wrapper-->

</body>
</html>